package com.wind.financial.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wind.common.annotation.Excel;
import com.wind.common.core.domain.BaseEntity;

/**
 * 财务账单对象 financialmanagement
 * 
 * @author wind
 * @date 2024-11-13
 */
public class Financialmanagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long FinancialID;

    /** 类型 */
    @Excel(name = "类型")
    private String ItemType;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal Cost;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date TIME;

    /** 汽车编号 */
    @Excel(name = "汽车编号")
    private Long RelatedCarID;

    public void setFinancialID(Long FinancialID) 
    {
        this.FinancialID = FinancialID;
    }

    public Long getFinancialID() 
    {
        return FinancialID;
    }
    public void setItemType(String ItemType) 
    {
        this.ItemType = ItemType;
    }

    public String getItemType() 
    {
        return ItemType;
    }
    public void setCost(BigDecimal Cost) 
    {
        this.Cost = Cost;
    }

    public BigDecimal getCost() 
    {
        return Cost;
    }
    public void setTIME(Date TIME) 
    {
        this.TIME = TIME;
    }

    public Date getTIME() 
    {
        return TIME;
    }
    public void setRelatedCarID(Long RelatedCarID) 
    {
        this.RelatedCarID = RelatedCarID;
    }

    public Long getRelatedCarID() 
    {
        return RelatedCarID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("FinancialID", getFinancialID())
            .append("ItemType", getItemType())
            .append("Cost", getCost())
            .append("TIME", getTIME())
            .append("RelatedCarID", getRelatedCarID())
            .toString();
    }
}
